@import url("./App.scss");
:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif,
    "DongFangKai", "DongFang", "DS-DIGI";
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  // 默认跟随系统
  @media (prefers-color-scheme: light) {
    :root {
      --text-color: #213547;
      --bg-color: #ffffff;
    }
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --bg-color: #213547;
      --text-color: #ffffff;
    }
  }
  // 手动切换主题
  &[data-theme="dark"] {
    --bg-color: #213547;
    --text-color: #ffffff;
  }
  &[data-theme="light"] {
    --bg-color: #ffffff;
    --text-color: #213547;
  }
}

body {
  margin: 0;
  min-height: 100vh;
}
